projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
725349c
)
(cpp-choose-symbol): Don't cons unnecessarily.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Mon, 20 May 2002 18:48:58 +0000
(18:48 +0000)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Mon, 20 May 2002 18:48:58 +0000
(18:48 +0000)
lisp/progmodes/cpp.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cpp.el
b/lisp/progmodes/cpp.el
index 743f5545361fffe66875b45ab18e4566579ea9e9..6e4c8d1f457168debf7c1858144ae9e57ae93d4c 100644
(file)
--- a/
lisp/progmodes/cpp.el
+++ b/
lisp/progmodes/cpp.el
@@
-676,7
+676,7
@@
BRANCH should be either nil (false branch), t (true branch) or 'both."
;; Choose a symbol if called from keyboard, otherwise use the one clicked on.
(if cpp-button-event
cpp-callback-data
- (completing-read "Symbol: "
(mapcar 'list cpp-edit-symbols)
nil t)))
+ (completing-read "Symbol: "
cpp-edit-symbols
nil t)))
(defun cpp-choose-branch ()
;; Choose a branch, either nil, t, or both.